package com.example.demo.controller;

import com.example.demo.service.ExamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Administrator on 2018/11/4 0004.
 */
@RestController
public class ExamController {
    @Autowired
    private ExamService examService;
    @GetMapping("hello")
    public String hello(){
        return examService.hello();
    }
}
